package com.zy.cat.entity.game.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import com.zy.cat.entity.game.CardNewHistory;
public interface CardNewHistoryRepository extends JpaSpecificationExecutor<CardNewHistory>,  JpaRepository<CardNewHistory, String>{
	public CardNewHistory findByPidAndDays(String pid,int days);
	public List<CardNewHistory> findByPidOrderByDays(String pid);
}
